package STUDENT.HOANGQUOCVIET.OOPs.TimVo;

public class models {
public boolean Timvo(Nguoi objNguoi){
	if(objNguoi.getStrGioiTinh() == "Nam"){
		if(objNguoi.getIntTuoi() >= (int)22){
			if(objNguoi.getStrTTHN() == "Chưa kết hôn" || objNguoi.getStrTTHN() == "Đã ly hôn"){
				 return true;}}}
	 return false;
	
	
}
}
